package com.xmhmyh.generalframework.project.sys.service;

import com.xmhmyh.generalframework.common.BaseIService;
import com.xmhmyh.generalframework.project.sys.dto.UserDTO;
import com.xmhmyh.generalframework.project.sys.entity.User;
import com.xmhmyh.generalframework.project.sys.entity.UserRole;

import java.util.List;

/**
 * @Author: 于丁
 * @DateTime: 2020/7/24 9:09 上午
 */
public interface IUserRoleService extends BaseIService<UserRole> {

    /**
     * 根据用户id 获取对应的角色列表
     * @param userId
     * @return
     */
    List<UserRole> getUserRole(Long userId);

}
